package com.ruoyi.system.domain.po;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评估报告对象 report
 *
 * @author Tcode
 * @date 2024-07-04
 */
public class Report extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 报告名称 */
    @Excel(name = "报告名称")
    private String reportName;

    /** 评估结果 */
    @Excel(name = "评估结果")
    private Float evaluationResult;

    /** 评估方式 */
    @Excel(name = "评估方式")
    private String evaluationName;

    /** 评估日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评估日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date evaluationDate;


    /** 标准号 */
    @Excel(name = "标准号")
    private String standardCode;

    /** 评估结果id */
    @Excel(name = "评估结果id")
    private Long evaluationResultId;

    /** 报告内容模板地址 */
    @Excel(name = "报告内容模板地址")
    private String reportContentPath;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setReportName(String reportName)
    {
        this.reportName = reportName;
    }

    public String getReportName()
    {
        return reportName;
    }
    public void setEvaluationResult(Float evaluationResult)
    {
        this.evaluationResult = evaluationResult;
    }

    public Float getEvaluationResult()
    {
        return evaluationResult;
    }
    public void setEvaluationName(String evaluationName)
    {
        this.evaluationName = evaluationName;
    }

    public String getEvaluationName()
    {
        return evaluationName;
    }
    public void setEvaluationDate(Date evaluationDate)
    {
        this.evaluationDate = evaluationDate;
    }

    public Date getEvaluationDate()
    {
        return evaluationDate;
    }
    public void setEvaluationResultId(Long evaluationResultId)
    {
        this.evaluationResultId = evaluationResultId;
    }

    public Long getEvaluationResultId()
    {
        return evaluationResultId;
    }
    public void setReportContentPath(String reportContentPath)
    {
        this.reportContentPath = reportContentPath;
    }

    public String getReportContentPath()
    {
        return reportContentPath;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }

    public String getStandardCode() {
        return standardCode;
    }

    public void setStandardCode(String standardCode) {
        this.standardCode = standardCode;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("reportName", getReportName())
                .append("evaluationResult", getEvaluationResult())
                .append("evaluationName", getEvaluationName())
                .append("evaluationDate", getEvaluationDate())
                .append("standardCode", getStandardCode())
                .append("evaluationResultId", getEvaluationResultId())
                .append("reportContentPath", getReportContentPath())
                .append("createUser", getCreateUser())
                .toString();
    }
}
